package com.tanhua.domain.mongo;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: Alfred
 * @Date: 2021/04/20/14:58
 * @Description:
 */
@Data
@Document(collection = "exam")
public class Exam implements Serializable {
    //    id name问卷名称 cover封面 level级别 star星别
    private ObjectId id; //主键id
    private String examId;  //问卷id
    private String name; //问卷名称
    private String cover; //封面
    private String level;  //级别
    private String star;  //星级
}
